package com.itheima.bean.pojo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 用户
 */
@Data
public class User {
    private String id;
    private String username;
    private String password;
    private String email;
    private String createTime;
    private String updateTime;
    private String remark;

    //一个用户对应多个角色
    private List<Role> roles = new ArrayList<>();

}
